package com.wpen.unit.web.dto.system;

import java.io.Serializable;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

import com.wpen.unit.commun.BaseRequest;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Schema(description = "管理用户-修改(请求)")
@Data
@EqualsAndHashCode(callSuper = false)
public class SysUserModRequest extends BaseRequest implements Serializable {
    private static final long serialVersionUID = 3748013572408380531L;

    @Schema(description = "主键")
    @NotEmpty
    @Size(min = 0, max = 64)
    private String id;
    @Schema(description = "人员名称")
    @Size(min = 0, max = 255)
    private String userName;
    @Schema(description = "人员性别")
    private Integer gender;
    @Schema(description = "邮箱")
    @Size(min = 0, max = 255)
    private String userEmail;
    @Schema(description = "电话")
    @Size(min = 0, max = 30)
    private String userTelnum;
    @Schema(description = "描述")
    @Size(min = 0, max = 512)
    private String userDesc;
    @Schema(description = "失效时间")
    @Size(min = 0, max = 32)
    private String endTime;
    @Schema(description = "状态")
    @NotEmpty
    @Size(min = 0, max = 1)
    private String status;

}